package com.springboot3.demo.web;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;


@Component
@RestController
@Path("/")
public class HelloWorldResource {

    @GET
    @Path("hello")
    public String hello() {
        return "Hello World, Gradle!";
    }

}
